package com.cty.myserver;

/**
 * @Auther: cty
 * @Date: 2020/1/27 15:53
 * @Description:  登录服务
 * @version: 1.0
 */
public class LoginServlet implements Servlet {
    @Override
    public void  service(Request request, Response response) {
        response.print("<html>");
        response.print("<head>");
        response.print("<title>");
        response.print("第一个servlet");
        response.print("</title>");
        response.print("</head>");
        response.print("<body>");
        response.print("欢迎回来:"+request.getParameter("uname"));
        response.print("</body>");
        response.print("</html>");
    }

}